package com.is.add.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 服务器监控
 */
@Entity
@Table(name = "t_server_monitor_log")
public class ServerMonitor {
    @Id
    @Column(name = "id")
    private Long id;                     //ID
    @Column(name = "server_id")
    private Integer serverId;
    @Column(name = "server_name")
    private String serverName;
    @Column(name = "server_status")
    private String serverStatus;
    @Column(name = "monitor_result_message")
    private String monitorResultMessage;
    @Column(name = "monitor_time")
    private Date monitorTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public String getServerStatus() {
        return serverStatus;
    }

    public void setServerStatus(String serverStatus) {
        this.serverStatus = serverStatus;
    }

    public String getMonitorResultMessage() {
        return monitorResultMessage;
    }

    public void setMonitorResultMessage(String monitorResultMessage) {
        this.monitorResultMessage = monitorResultMessage;
    }

    public Date getMonitorTime() {
        return monitorTime;
    }

    public void setMonitorTime(Date monitorTime) {
        this.monitorTime = monitorTime;
    }
}
